Add root.transient-ro
authorColin Walters <walters@verbum.org>
Wed, 16 Jul 2025 15:08:00 +0000 (11:08 -0400)
committerColin Walters <walters@verbum.org>
Fri, 18 Jul 2025 18:12:09 +0000 (14:12 -0400)
commit84d9e42b55962e4a05778a495a15e52de1a39b03
tree499a1652460d5eb360bad0821934ae261ef9350a
parentb787702072da2ddc6ec0b245585a3b61c84bc04f
Add root.transient-ro

An example use case for this is having privileged code
add dynamic new toplevel mountpoints (that don't persist across
reboots/upgrades), while still keeping the rootfs readonly
for processes by default.

Closes: https://github.com/ostreedev/ostree/issues/3471
Signed-off-by: Colin Walters <walters@verbum.org>
man/ostree-prepare-root.xml
src/libotcore/otcore-prepare-root.c
src/libotcore/otcore.h
src/switchroot/ostree-prepare-root.c
tests/kolainst/destructive/root-transient-ro.sh [new file with mode: 0755]